QT += widgets
QT += printsupport

TEMPLATE = lib
DEFINES += CUSTOMPLOT_LIBRARY

CONFIG += c++11

CONFIG(debug , debug | release) {
win32: DESTDIR = $$PWD/../lib_debug_win
linux: DESTDIR = $$PWD/../lib_debug_linux
} else {
win32: DESTDIR = $$PWD/../lib_debug_win
linux: DESTDIR = $$PWD/../lib_debug_linux
}

# You can make your code fail to compile if it uses deprecated APIs.
# In order to do so, uncomment the following line.
#DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0x060000    # disables all the APIs deprecated before Qt 6.0.0

SOURCES += \
    customplot.cpp \
    qcustomplot.cpp

HEADERS += \
    customPlot_global.h \
    customplot.h \
    qcustomplot.h

# Default rules for deployment.
unix {
    target.path = /usr/lib
}
!isEmpty(target.path): INSTALLS += target
